< previous page page_322 next page >

Page 322
class instance, named theApplication for example, invokes the addTrans2MemLog method of the theAppTransactions object. When a user requests a connection to the database, the controller class of the form invokes the addTrans2MemLog method as well. At any time your client has trouble with the application, for instance, invoke the showLog method of the theAppTransactions object.
12180-0322a.gif
Figure 14.2.
Typical sequence of events for logging application transactions and
memory allocations.
Modeling the Internal Application Manager Subsystem Class
The class model is exactly the same as Figure 14.1. There are no special accommodations for any application.
The methods of the CApplication class include the following:
initializeSystem
getAppState
setAppState

 
< previous page page_322 next page >

If you like this book, buy it!